package cn.iocoder.yudao.module.handguard.convert.wealthrecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.handguard.controller.app.wealthrecord.vo.*;
import cn.iocoder.yudao.module.handguard.dal.dataobject.wealthrecord.WealthRecordDO;

/**
 * 用户-财富值明细记录 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface WealthRecordConvert {

    WealthRecordConvert INSTANCE = Mappers.getMapper(WealthRecordConvert.class);

    WealthRecordDO convert(WealthRecordCreateReqVO bean);

    WealthRecordDO convert(WealthRecordUpdateReqVO bean);

    WealthRecordRespVO convert(WealthRecordDO bean);

    List<WealthRecordRespVO> convertList(List<WealthRecordDO> list);

    PageResult<WealthRecordRespVO> convertPage(PageResult<WealthRecordDO> page);

    List<WealthRecordExcelVO> convertList02(List<WealthRecordDO> list);

}
